package com.lhf.legalPlant.mapper;

import com.lhf.legalPlant.model.FactorySelectVo;
import com.lhf.legalPlant.model.FactoryVo;
import com.lhf.legalPlant.model.LegelPersonVo;
import com.lhf.legalPlant.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 尐痞猫
 * @date2021-06-25 22:49
 */
@Mapper
public interface LegelPersonMapper {

    @Select("select * from legalperson where userId = 1")
    List<LegelPersonVo> selectByUserId(User user);

}
